import com.chai.service.BookService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext apc=new ClassPathXmlApplicationContext("applicationContext.xml.bak");
        BookService bookService = (BookService) apc.getBean("bookService");
        bookService.execute();
    }
}
